from django.conf.urls import url

from rest_api.views import *

urlpatterns = [
    url(r'^postConnection/$', PostConnection.as_view()),
    url(r'^getHistoryConnectionRecord/$', GetHistoryConnectionRecord.as_view()),
    url(r'^postEndConnection/(?P<PK>[0-9]*)/$', PostEndConnection.as_view()),
    url(r'^postChangeConnection/$', PostChangeConnection.as_view()),
    url(r'^pauseTrain/$', PauseTrain.as_view()),
    url(r'^continueTrain/$', ContinueTrain.as_view()),
]
